﻿<div id="append_parent">
	<div id="ls_fastloginfield_ctrl_menu" class="sltm" style="display: none; width: 40px;">
		<ul>
			<li class="current">
				用户名
			</li>
			<li>
				UID
			</li>
			<li>
				Email
			</li>
		</ul>
	</div>
</div>
<div id="ajaxwaitid"></div>
<!--gamebbs close diy function-->
<div id="toptb" class="cl">
	<div class="wp">
		<div class="z">
			<a href="javascript:;" onclick=""></a>
			<a href="" onclick="">
				收藏本站
			</a>
		</div>
		<div class="y">
			<a href="javascript:;" onclick="">
				切换到宽版
			</a>
		</div>
	</div>
</div>
<div id="hd">
	<style>.y.pns {
	display: none;
}

.ptlogin_simple {
	float: right;
}

.ptlogin_simple button {
	width: 75px;
}</style>

	<div class="wp">
		<?php 
        if (isset($_SESSION["state"]) && $_SESSION["state"])
        {
        	?>
		<div class="hdc cl">
			<h2><a href="" title="QQ飞车"><img src="img/0.png" alt="QQ飞车" border="0"></a></h2>
			<div id="um">
				<div class="avt y">
					<a href="#"><img src="img/48.gif"></a>
				</div>
				<p>
					<strong class="vwmy"><a href="#" target="_blank" title="访问我的空间"><?php echo $_SESSION['user']['user_name']; ?></a></strong>
					<span class="pipe">|</span>
					<a href="#">设置</a>
					<span class="pipe">|</span>
					<a href="#" id="pm_ntc">消息</a>
					<span class="pipe">|</span>
					<a href="#" id="myprompt">提醒</a><span id="myprompt_check"></span>
					<script type="text/javascript">
					</script>
					<span class="pipe">|</span>
					<a onclick="logout();" style="cursor: pointer;">退出</a>
				</p>
				<p>
					<a href="#" id="extcreditmenu" onmouseover="delayShow(this, showCreditmenu);" class="showmenu">积分: <?php echo $_SESSION['user']['user_points']; ?></a>
					<span class="pipe">|</span>用户组:
					<a href="#" id="g_upmine" class="xi2" onmouseover="delayShow(this, showUpgradeinfo)" initialized="true">飞车新手</a>
				</p>
			</div>
		</div>
		<?php
		}
		else
		{
        	?>
			<div class="hdc cl">
				<h2><a href="../Home" title="QQ飞车"><img src="img/0.png" alt="QQ飞车" border="0"></a></h2>
				<div  id="lsform">
					<div class="fastlg cl">
						<table cellspacing="0" cellpadding="0" class="ptlogin_simple">
							<tbody>
								<tr>
									<td class="fastlg_l">
										<button class="pn vm" onclick="loginClick();">
                                            <em>登录</em>
                                       </button>
									</td>
									<td>
										<a onclick="registerClick();" style="cursor: pointer;">注册新账号</a>
									</td>
								</tr>
								<tr>
									<td class="fastlg_l">&nbsp;</td>
									<td>
										<a href="#" target="_blank">忘记密码?</a>
									</td>
								</tr>
							</tbody>
						</table>
					</div>
				</div>
			</div>
			<?php
			}
		?>
	
		<div id="nv">
			<ul>
				<li class="a" id="mn_forum">
					<a href="index.php" hidefocus="true" title="BBS">
						论坛首页<span>BBS</span>
					</a>
				</li>
				<li id="mn_N76a1">
					<a href="" hidefocus="true">
						官网首页
					</a>
				</li>
				<li id="mn_N4a8f">
					<a href="#" hidefocus="true">
						心悦专区
					</a>
				</li>
				<li id="mn_N2302">
					<a href="" hidefocus="true" target="_blank">
						客服入口
					</a>
				</li>
			</ul>
		</div>
			<div id="scbar" class="cl">
			<form id="scbar_form" method="post" onsubmit="" action="">
				<input type="hidden" name="mod" id="scbar_mod" value="forum">
				<input type="hidden" name="formhash" value="d156acbf">
				<input type="hidden" name="srchtype" value="title">
				<input type="hidden" name="srhfid" value="">
				<input type="hidden" name="srhlocality" value="forum::index">
				<table cellspacing="0" cellpadding="0">
					<tbody>
						<tr>
							<td class="scbar_icon_td"></td>
							<td class="scbar_txt_td">
								<input type="text" name="srchtxt" id="scbar_txt" value="请输入搜索内容" autocomplete="off" x-webkit-speech="" speech="" class=" xg1" placeholder="请输入搜索内容">
							</td>
							<td class="scbar_type_td">
								<a href="javascript:;" id="scbar_type" class="showmenu xg1 xs2" onclick="showMenu(this.id)" hidefocus="true">
									帖子
								</a></td>
							<td class="scbar_btn_td">
								<button type="submit" name="searchsubmit" id="scbar_btn" sc="1" class="pn pnc" value="true">
								<strong class="xi2 xs2">搜索</strong>
								</button></td>
							<td class="scbar_hot_td">
								<div id="scbar_hot">
									<strong class="xw1">热搜: </strong>

									<a href="" target="_blank" class="xi2" sc="1">
										活动
									</a>

									<a href="" target="_blank" class="xi2" sc="1">
										交友
									</a>

									<a href="" target="_blank" class="xi2" sc="1">
										discuz
									</a>

								</div></td>
						</tr>
					</tbody>
				</table>
			</form>
		</div>
		<div id="mu" class="cl"></div>
